package com.roger.springcloudGreenwich.bean;

import lombok.Data;
import org.springframework.data.elasticsearch.annotations.Document;

import java.io.Serializable;

/**
 * Created by admin on 2020/3/25.
 */
@Data
@Document(indexName = "students",type = "doc")
public class Student implements Serializable{
    private static final long serialVersionUID = 5746640315077318035L;
    private String id;
    private int age;
    private String addr;
    private String name;
}
